﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace JXC.Core.Models
{
    /// <summary>
    /// 采购付款明细文件
    /// </summary>
  public class PaidDetail
    {
        [Key]
        [DatabaseGenerated(DatabaseGeneratedOption.Identity)]
        //付款明细单号
        public Guid Id { get; set; }
        //付款单号
        [ForeignKey("CaigouDuepayId")]
        public Guid CaigouDuepayId { get; set; }

        //原始订单号
        [ForeignKey("CaigouOrderId")]
        public Guid CaigouOrderId { get; set; }
        //本次付款
        public decimal CurPay { get; set; }

        public CaigouDuepay  CaigouDuepay { get; set; } 
        public CaigouOrder CaigouOrder { get; set; }
    
    
    }
}
